<?php

namespace Biz\Models\Site;

use Biz\Models\Model;
use Dimsav\Translatable\Translatable;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * SiteImportant.
 *
 * @license [http://www.85do.com] [杭州永奥网络科技有限公司]
 * @copyright Copyright (c) 2018-2026 Hangzhou Yongao Technology Co., Ltd. All rights reserved.
 */
class SiteImportant extends Model
{
    use SoftDeletes, Translatable;
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'site_important';

    /**
     * @var array
     */
    protected $fillable = [
        'site_id',
        'status',
    ];

    /**
     * Translations.
     */
    public $translationModel      = SiteImportantTranslation::class;
    public $translatedAttributes  = ['title', 'summary', 'content'];
    public $translationForeignKey = 'important_id';
}
